package e.g;

import java.util.ArrayList;

public class Main {

	/**
	 * @param args
	 * @throws Exception
	 */
	public static void main(String[] args) throws Exception {
		MybatisGeneratorNew mg = new MybatisGeneratorNew();
		String[] table = new String[] { "DGF_ADJACT_DEPT_CNSMBL_DTL" };
		mg.gener(table);

		// new Main().test();

	}

	public void test() {
		String str1 = "通话";
		String str2 = "重地";
		System.out.println(str1.hashCode());
		System.err.println(str2.hashCode());

		System.out.println(String.format("str1：%d , str2：%d", str1.hashCode(), str2.hashCode()));

		// StringBuffer reverse
		StringBuffer stringBuffer = new StringBuffer();
		stringBuffer.append("abcdefg");
		System.out.println(stringBuffer.reverse()); // gfedcba

		ArrayList<Integer> list = new ArrayList<Integer>();

		int[] array = new int[6];

		for (int i = 0; i < 6; i++) {
			array[i] = i;
			System.out.println(array[i]);
		}
	}

}
